<template>
  <div class="card_sbContainer">
    <span class="card_sbTitle">{{ props.title }}</span>
    <div class="card_sbBtn">
      <btn_b></btn_b>
      <span class="card_sbStr">{{ props.str }}</span>
    </div>
  </div>
</template>

<script setup lang="ts">
import { i18nt } from "@/i18n/index";
import btn_b from "../buttons/btn_b.vue";

const props = defineProps({
  title: {
    type: String,
    required: false,
    default: i18nt.value.business.testCard.title,
  },
  str: {
    type: String,
    required: false,
    default: i18nt.value.business.testCard.content,
  },
});
</script>

<style scoped lang="scss">
.card_sbContainer {
  @include relative_hw(156px, 100%);
  flex-direction: column;
  justify-content: center;
  background: #ffffff;

  .card_sbTitle,
  .card_sbBtn {
    margin-left: 22px;
  }

  .card_sbTitle {
    width: 312;
    font-family: "Songti SC", "Songti SC";
    font-weight: 900;
    font-size: 24px;
    text-align: left;
    color: #035db9;
  }

  .card_sbBtn {
    @include relative_hw(33px, auto);
    margin-top: 14px;
    flex-direction: row;
    align-items: center;

    .card_sbStr {
      font-family: "Songti SC", "Songti SC";
      font-size: 18px;
      color: #a3a3a3;
      text-align: left;
      margin-left: 18px;
    }
  }
}
</style>
